﻿/*******************************************************
*类名称：WechatLogManager
*版本号：V1.0.0.0
*作者：成俊杰
*CLR版本：4.0.30319.36264
*创建时间：2017-08-16 22:48:06
*说明：T_WechatLog实体类
*更新备注：
**********************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dapper.Contrib.Extensions;

namespace Wechat.Domain
{
    /// <summary>
    /// T_WechatLog
    /// </summary>
    [Table("T_WechatLog")]
    public class WechatLog
    {
        /// <summary>
        /// Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// LogType
        /// </summary>
        public int? LogType { get; set; }

        /// <summary>
        /// Direction
        /// </summary>
        public string Direction { get; set; }

        /// <summary>
        /// XmlMsg
        /// </summary>
        public string XmlMsg { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// ToUserName
        /// </summary>
        public string ToUserName { get; set; }

        /// <summary>
        /// FromUserName
        /// </summary>
        public string FromUserName { get; set; }

        /// <summary>
        /// MsgType
        /// </summary>
        public string MsgType { get; set; }

        /// <summary>
        /// EventName
        /// </summary>
        public string EventName { get; set; }

        /// <summary>
        /// PicUrl
        /// </summary>
        public string PicUrl { get; set; }

        /// <summary>
        /// CreateTimeSpan
        /// </summary>
        public string CreateTimeSpan { get; set; }

        /// <summary>
        /// 文本内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// EventKey
        /// </summary>
        public string EventKey { get; set; }

    }
}